#ifndef NOTEGEN_H
#define NOTEGEN_H
#include "threadplay.h"
#include "midi.h"
#include <QThread>

class notegen : public QThread
{
    Q_OBJECT
public:
    notegen();
    notegen(track a,HMIDIOUT hdl);
    void run();
signals:
    void notetoplay(long msg);
private:
    vector<note> trackNotes;
    int cNote;
    HMIDIOUT handle;
};

#endif // NOTEGEN_H
